#ifndef __DRIVER_LED_H
#define __DRIVER_LED_H

#include "stm32f10x.h"

#define LED_1 GPIO_ODR_ODR8
#define LED_2 GPIO_ODR_ODR9
#define LED_3 GPIO_ODR_ODR10
#define LED_4 GPIO_ODR_ODR11
#define LED_5 GPIO_ODR_ODR12
#define LED_6 GPIO_ODR_ODR13
#define LED_7 GPIO_ODR_ODR14
#define LED_8 GPIO_ODR_ODR15

void Driver_LED_Init(void);

void Drviver_LED_On(uint32_t led);

void Drviver_LED_Off(uint32_t led);

void Drviver_LED_Toggle(uint32_t led);

void Drviver_LED_OnAll(uint32_t leds[], uint8_t size);

void Drviver_LED_OffAll(uint32_t leds[], uint8_t size);

#endif
